package com.hotelManagerSystem.service;

import com.hotelManagerSystem.model.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hotelManagerSystem.model.StaffDepartment;

import java.util.List;

/**
 * <p>
 *  职工服务类
 * </p>
 *
 * @author longyajr
 * @since 2021-12-22
 */
public interface IStaffService extends IService<Staff> {

    List<Staff> queryStaffList();
    List<StaffDepartment> queryStaffDepartmentList();

    Staff queryByUsername(String username);



    List<Staff> queryStaffByCleanOrderState();

    int addStaffById(int staffId);

    int deleteStaffById(Integer staffId);

    List<Staff> selectBlackStaffList();

    List<Staff> selectWhiteStaffList();

    List<Staff> selectStaffByUsername(String username);

    boolean insertStaff(Staff staff);

    List<StaffDepartment> queryStaffByUsername(String username);

    StaffDepartment selectOneStaff(Integer staffI);

    boolean updateStaff(Staff staff);
}
